// test user request api
// const http = uni.$u.http;

// test get api
export function register(params){
	return uni.$u.http.post('/agt/agentinfo/register', params)
}

export function getAgentInfo(agentPromoteCode) {
	return uni.$u.http.get(`/agt/agentinfo/scanAgentQRcodes/${agentPromoteCode}`, {header: {isToken: 'false'}})
}

export function getVerCode(phoneNo) {
	return uni.$u.http.get(`/agt/agentinfo/registerSendSms/${phoneNo}`)
}